Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for GraphQL extensions #98

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

je-sage
Copy link

@je-sage je-sage commented Sep 23, 2022

No description provided.

// m should be a pointer to struct that corresponds to the GraphQL schema.
// Additionally, this will capture the extensions from the response.
// extensions should be a pointer that corresponds to the extensions schema.
func (c *Client) MutateWithExtensions(ctx context.Context, m interface{}, variables map[string]interface{}, extensions interface{}) error {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add a test for this function?

alexandear pushed a commit to alexandear/graphql that referenced this pull request Jan 8, 2024
)

* update gh actions and go versions, update deprecated ioutil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants